## NeHe's GLframe ported to SDL
## Fabio 'SnowDruid' Franchello
## snowdruid@tiscalinet.it

## Compiler
CC=g++
## Linker
LD=$(CC)
## Flags
CPPFLAGS = -Wall -g -DLINUX `sdl-config --cflags` #-I/usr/include
LFLAGS = `sdl-config --libs` -L/usr/lib -L/usr/X11R6/lib -lGL

HEADERFILES = main.h gladd.h

OBJS = main.o demo.o error.o glall.o texture.o

SRCS = main.cpp demo.cpp error.cpp glall.cpp texture.cpp

all : programs
	chmod g+rw *.o

clean :
	rm -rf programs *.o

programs : ${OBJS}
	$(LD) -o $@ ${OBJS} ${LFLAGS}

depend :
	makedepend ${SRCS}
# DO NOT DELETE

main.o: /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h
main.o: /usr/include/gnu/stubs.h
main.o: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stddef.h
main.o: /usr/include/bits/types.h /usr/include/libio.h
main.o: /usr/include/_G_config.h /usr/include/wchar.h
main.o: /usr/include/bits/wchar.h /usr/include/gconv.h
main.o: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stdarg.h
main.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
main.o: /usr/include/stdlib.h main.h
demo.o: /usr/include/stdio.h /usr/include/features.h /usr/include/sys/cdefs.h
demo.o: /usr/include/gnu/stubs.h
demo.o: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stddef.h
demo.o: /usr/include/bits/types.h /usr/include/libio.h
demo.o: /usr/include/_G_config.h /usr/include/wchar.h
demo.o: /usr/include/bits/wchar.h /usr/include/gconv.h
demo.o: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stdarg.h
demo.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
demo.o: /usr/include/stdlib.h /usr/include/math.h
demo.o: /usr/include/bits/huge_val.h /usr/include/bits/mathdef.h
demo.o: /usr/include/bits/mathcalls.h glall.h /usr/include/GL/gl.h
demo.o: /usr/include/GL/glext.h gladd.h texture.h main.h
error.o: /usr/include/stdio.h /usr/include/features.h
error.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
error.o: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stddef.h
error.o: /usr/include/bits/types.h /usr/include/libio.h
error.o: /usr/include/_G_config.h /usr/include/wchar.h
error.o: /usr/include/bits/wchar.h /usr/include/gconv.h
error.o: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stdarg.h
error.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
error.o: /usr/include/stdlib.h main.h
glall.o: glall.h /usr/include/GL/gl.h /usr/include/GL/glext.h gladd.h
glall.o: /usr/include/GL/glx.h /usr/include/X11/Xlib.h
glall.o: /usr/include/sys/types.h /usr/include/features.h
glall.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
glall.o: /usr/include/bits/types.h
glall.o: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stddef.h
glall.o: /usr/include/time.h /usr/include/X11/X.h
glall.o: /usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h
glall.o: /usr/include/X11/Xutil.h /usr/include/X11/Xmd.h
glall.o: /usr/include/GL/glxtokens.h /usr/include/string.h main.h
glall.o: /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h
glall.o: /usr/include/wchar.h /usr/include/bits/wchar.h /usr/include/gconv.h
glall.o: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stdarg.h
glall.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
texture.o: texture.h main.h /usr/include/stdio.h /usr/include/features.h
texture.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
texture.o: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stddef.h
texture.o: /usr/include/bits/types.h /usr/include/libio.h
texture.o: /usr/include/_G_config.h /usr/include/wchar.h
texture.o: /usr/include/bits/wchar.h /usr/include/gconv.h
texture.o: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stdarg.h
texture.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
texture.o: /usr/include/GL/gl.h /usr/include/SDL/SDL_video.h
texture.o: /usr/include/SDL/SDL_types.h /usr/include/SDL/SDL_mutex.h
texture.o: /usr/include/SDL/SDL_main.h /usr/include/SDL/begin_code.h
texture.o: /usr/include/SDL/close_code.h /usr/include/SDL/SDL_rwops.h
